package us.yunhe.dao;

import java.util.List;

import us.yunhe.model.User;

public interface IUserDao {

	User login(String uname, String pwd);
	
	int register(String uname, String pwd);
	
	List<User> searchAll();
	
	List<User> searchAll(int pageIndex,int pageSize);
	
	int getCount();
}
